<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>MasterOJ Document</title>
</head>

<body class="mdui-drawer-body-left mdui-theme-primary-indigo mdui-theme-accent-pink">
    <div id="app">
        <Leftbar></Leftbar>
        <Rightcontent></Rightcontent>
    </div>
    <script>
    var oldLink = window.location.href.split('?')[0];
    var intPos = oldLink.indexOf("http://");
    oldLink = oldLink.substr(intPos + 7);
    intPos = oldLink.indexOf("https://");
    oldLink = oldLink.substr(intPos + 8);
    intPos = oldLink.indexOf("/");
    var newLink = oldLink.substr(intPos+1);
    if (newLink == "") newLink = "index";
    newLink = './docs/'+newLink+'.md';
    var configGlobals = {
      siteName: 'MDocs'
    }
    </script>
    <script src="/index.js"></script>
</body>

</html>